package hamsterwrench;

import hamsterwrench.gui.ReloadSpy;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;


public final class HamsterWrench {

	public static void main(String[] args) {
		try{
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
			SwingUtilities.invokeLater(new ReloadSpy());
		}catch(Exception e){
			e.printStackTrace();
		}
	}
	
}
/* Testing code:
 *File testFile = new File("C:\\OHRRPGCE\\template.rpg");
 *LumpExtractor l = new LumpExtractor(testFile);
 *l.extract();
 *l.destroy();
 */

/*File testFile = new File("C:\\OHRRPGCE\\Ichiro\\synth.hss");
ProcessBuilder b = new ProcessBuilder("C:\\OHRRPGCE\\hspeak.exe", "-ky", testFile.getAbsolutePath());
try {
	Process p = b.start();
	InputStream stdout = p.getInputStream();
	String line = null;
	//InputStream stderr = p.getErrorStream();
	BufferedReader reader = new BufferedReader(new InputStreamReader(stdout));
	System.out.println(p.waitFor());
	while((line = reader.readLine()) != null){
		System.out.println(line);
	}
	
} catch (IOException | InterruptedException e) {
	// TODO Auto-generated catch block
	e.printStackTrace();
}*/